package com.pengke.pangu.service.sys.mapper;

import com.pengke.pangu.service.sys.entity.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 资源权限表 Mapper 接口
 * </p>
 *
 * @author lijunjie
 * @since 2025-02-14
 */
public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    List<SysPermission> getSysPermissionByUserId(Map<String,Object> param);

    List<SysPermission> getSysPermissionByRoleCode(String roleCode);
}

